import { createApp } from "vue";
import "@/style/reset.scss";
import App from "./App.vue";
import router from "@/router/index";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
//@ts-ignore
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import pinia from '@/store/index'
// 引入全局组件
import HospitalTop from "@/component/hospital_top/index.vue";
import HospitalBottom from "@/component/hospital_bottom/index.vue";

const app = createApp(App);
app.component("HospitalTop", HospitalTop);
app.component("HospitalBottom", HospitalBottom);

app.use(router);
app.use(ElementPlus, {
  locale: zhCn,
});
app.use(pinia)
app.mount("#app");
